﻿namespace Chapter04.DesignMode1 {
    public class PizzaStroe {
        public IPizza OrderPizza(string type) {
            var pizza = SimplePizzaFactory.Create(type);

            pizza.Prepare();
            pizza.Bake();
            pizza.Cut();
            pizza.Box();
            return pizza;
        }
    }
}
